package com.chenyue.cm.news.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: ljy
 * @Title: newInfoVo
 * @Description: 新闻主体vo
 * @Date: 2021-07-22
 */
@Data
public class NewInfoVo {

    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "新闻标题")
    private String title;

    @ApiModelProperty(value = "新闻内容")
    private String content;

    @ApiModelProperty(value = "发布人")
    private Integer cu;

    @ApiModelProperty(value = "发布时间")
    private String convertDate;

    @ApiModelProperty(value = "封面图")
    private String cover;

    @ApiModelProperty(value = "是否推荐 0不推荐1推荐")
    private Integer isRecommend;

    @ApiModelProperty(value = "0未收藏 1已收藏")
    private Integer isCollect;

    @ApiModelProperty(value = "浏览次数")
    private Integer viewNum;

    @ApiModelProperty(value = "收藏次数")
    private Integer collectNum;

    @ApiModelProperty(value = "评论次数")
    private Integer commentNum;
}
